home *** CD-ROM | disk | FTP | other *** search
- Hack #1: Easy as pi
- ===================
- Easy as pi dcmd
- Created at MacHack 2000 by Philippe Casgrain
- philippe@casgrain.com
-
- This dcmd does the reverse of the 'pp' dcmd, that is given the proper
- MixedMode information it will return the hex value for the ProcInfoType.
-
- To use, put it in the 'Macsbug preferences' folder of your Preferences
- folder and reboot. Obviously, MacsBug must be installed. Invoke it by
- typing 'pi' or 'help pi' at the MacsBug command line.
-
- This hack is actually useful to non-C programmers since they don't have
- access to the macros in MixedMode.h to build the ProcInfoType from
- scratch each time the source is compiled.
-
-
- Hack #2: useful (not!)
- ======================
- useful dcmd (not!)
-
- Created at MacHack 2000 by Philippe Casgrain
- philippe@casgrain.com
-
- This dcmd writes 'useful' in pseudo-blocky letters (created with Ascii Paint) to
- Macsbug' output. It's just a one-liner to reply to the 'useful!' shouts that are
- certain to accompany my 'Easy as pi' dcmd demo since that dcmd *is* actually
- useful...
-
- This hack has no calories and no redeeming values. It was created in exactly 5
- minutes and it shows.